
package usyd.comp5348;

import java.util.List;
import javax.ejb.Local;
import usyd.comp5348.Catalogue;


/**
 * This is the business interface for Catalogue enterprise bean.
 */
@Local
public interface CatalogueLocal {
    int createVideo(CatalogueInfo catalogue) throws CatalogueException;

    void modifyVideo(CatalogueInfo catalogue) throws CatalogueException;

    void deleteVideo(int id) throws CatalogueException;

    CatalogueInfo getVideoById(int id) throws CatalogueException;

    CatalogueInfo getVideoByCatalogueNumber(String catalogueNumber) throws CatalogueException;

    List getVideosByDirector(String director) throws CatalogueException;

    List getVideosByGenre(String genre) throws CatalogueException;
   
}
